Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Main module to create STB application. Extends SPA app module. Adds STB-specific logic (handle screen resolution, STB events, work inside iframe, etc.).
npm install stb-app
Add the instance to the scope:
var app = require('stb-app');
At run-time adds the following attributes:
Name | Description |
---|---|
app.data.host | True if executed on the STB device, set by debug module at runtime. |
app.data.screen | Screen geometry and margins. |
There is a global var
DEVELOP
which activates additional consistency checks and protection logic not available in release mode.
If you have any problem or suggestion please open an issue here. Pull requests are welcomed with respect to the JavaScript Code Style.
stb-app
is released under the MIT License.
FAQs
STB SDK application core.
The npm package stb-app receives a total of 7 weekly downloads. As such, stb-app popularity was classified as not popular.
We found that stb-app demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.